			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class RangeReview : EntityBase
	{
		[DataMember]
		private RangeReviewRow row;
		
		public RangeReview(RangeReviewRow row)
		{
			this.row = row;
		}
		
		public RangeReview()
		{
			this.row = new RangeReviewRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int CountryId
		{
			get { return row.CountryId; }
			set { row.CountryId = value; }
		}

		[DataMember]
		public int TargetCurrencyId
		{
			get { return row.TargetCurrencyId; }
			set { row.TargetCurrencyId = value; }
		}

		[DataMember]
		public string Title
		{
			get { return row.Title; }
			set { row.Title = value; }
		}

		[DataMember]
		public int TotalMonths
		{
			get { return row.TotalMonths; }
			set { row.TotalMonths = value; }
		}

		[DataMember]
		public DateTime FirstMonth
		{
			get { return row.FirstMonth; }
			set { row.FirstMonth = value; }
		}

		[DataMember]
		public bool HasPriorYear
		{
			get { return row.HasPriorYear; }
			set { row.HasPriorYear = value; }
		}

		[DataMember]
		public decimal Bottom
		{
			get { return row.Bottom; }
			set { row.Bottom = value; }
		}

		[DataMember]
		public DateTime ReportDate
		{
			get { return row.ReportDate; }
			set { row.ReportDate = value; }
		}

		[DataMember]
		public int? PYHistoryId
		{
			get { return row.PYHistoryId; }
			set { row.PYHistoryId = value; }
		}

		[DataMember]
		public decimal OverSpaced
		{
			get { return row.OverSpaced; }
			set { row.OverSpaced = value; }
		}

		[DataMember]
		public decimal UnderSpaced
		{
			get { return row.UnderSpaced; }
			set { row.UnderSpaced = value; }
		}

		[DataMember]
		public string StoreSegmentation1
		{
			get { return row.StoreSegmentation1; }
			set { row.StoreSegmentation1 = value; }
		}

		[DataMember]
		public string StoreSegmentation2
		{
			get { return row.StoreSegmentation2; }
			set { row.StoreSegmentation2 = value; }
		}

		
		public RangeReviewRow GetRow()
        {
            return row;
        }
		
	} 
} 
